mgmt: Add async_approval_notification_channels property to client model#938
Merged
kailash-b merged 4 commits intoMar 22, 2026
Conversation
ryan-seifi
approved these changes
Mar 20, 2026
dmarjoram
approved these changes
Mar 20, 2026
mfolker-sage
approved these changes
Mar 20, 2026
kailash-b
approved these changes
Mar 22, 2026
Merged
This was referenced May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
If a client is set up to use a CIBA (Client Initiated Backchannel Authentication) grant type, it is necessary to configure a notification channel for it. On the console it looks like this:
As per the docs, Management API itself has
async_approval_notification_channelsas a body parameter for requests to create or update clients at the/v2/clientsendpoint.However the
async_approval_notification_channelsproperty is missing from the client model in the Auth0 SDK, so when there is an attempt to create a client with CIBA grant type it fails with the following error:This PR adds the necessary
async_approval_notification_channelsproperty to the client model.Testing
An end-to-end test was carried out to check that the SDK change works and creates a client as intended. This involved creating via Management API an M2M client with Client Credentials and CIBA grant types, with a working Guardian Push notification channel.
There are not additional automated tests added because the change is limited to adding a property to an existing model class and similar model properties in the codebase don't have dedicated unit tests.
This change adds unit test coverage
This change adds integration test coverage
This change has been tested on the latest version of the platform/language
Checklist
I have read the Auth0 general contribution guidelines
I have read the Auth0 Code of Conduct
All existing and new tests complete without errors